import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Layouts 1.12
import QtQuick.Window 2.12
import QtGraphicalEffects 1.12

Window {
    id: root
    visible: true
    width: Screen.width
    height: Screen.height

    // 登录页面
    Component {
        id: loginPage
        LoginPage {
        }
    }

    StackView {
        id: stackView
        initialItem: loginPage
        anchors.fill: parent
        signal pagePushed
        onCurrentItemChanged: {
            pagePushed()
        }
        replaceEnter: null
        replaceExit: null
        popEnter: null
        popExit: null
        pushEnter: null
        pushExit: null
    }
}
